package uk.co.q3c.deplan.client.domain.resource;

import java.util.Date;


/**
 * @see WorkingCalendar
 * @see DefaultWorkingTime
 * @author DSowerby 4 Oct 2008
 * 
 */
public interface WorkingTime {

	/**
	 * Gets the working time associated with DateIndex di.
	 * 
	 * @param di
	 *            the date being queried
	 * @return working time associated with di. 0 if di is null or no entry found
	 */
	public abstract int getWorkingTime(Date di);

}
